<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<div class="col-sm-3 col-md-2 sidebar">
	<div class="tree">
		<ul style="padding-left: 0px;" class="list-group">
			<c:forEach items="${menuList }" var="P_menu">
				<li class="list-group-item tree-closed"><span><i
						class="${P_menu.icon }"></i> ${P_menu.name } <span class="badge"
						style="float: right">${P_menu.childs.size() }</span></span>
					<ul style="margin-top: 10px; display: none;">
						<c:forEach items="${P_menu.childs }" var="menu">
							<li style="height: 30px;">
								<a href="${ctx }/${menu.url }">
									<i class="${menu.icon }"></i> ${menu.name }
								</a>
							</li>
						</c:forEach>
					</ul></li>
			</c:forEach>
		</ul>
	</div>
</div>